<?php
//inculde即可以使用data数据。本页所有的data数据，倾在controller都处理好
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
//引入所有子系统信息
include_once("../../../common/model/extender_import.php");
//引入系统设置
include_once("../../../common/model/setting.php");

?>


<?
$table_name = "employee";
include_once("detail-function.php");
?>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <?php include ROOT_PATH_ . '/controller/common/module/head.php'; ?>
    <link href="../asset/css/style.css" rel="stylesheet" type="text/css"/>
    </head>

<body>

    <div id="topbar">
        <?php include ROOT_PATH_ . '/controller/common/module/topbar.php'; ?>
    </div>

    <div id="container" class="<? echo $system_part ?>">

        <div id="maincontent">

            <div id="sidebar">
                <?php include ROOT_PATH_ . '/controller/common/module/sidebar.php'; ?>
            </div>


            <div id="content" class="layui-form">
                <h1> 个人中心 </h1>

                <form id="reset-pw-form" method="post" action="detail-edit-function.php?nav-itemed=user" enctype="multipart/form-data" class="layui-form">
                    <div class="detail-box user-edit-box layui-form">

                        <div class="detail-boxes">

                            <div class="statistic-box layui-form">

                                <div class="layui-tab">
                                    <ul class="layui-tab-title">
                                        <!---->
                                        <!--                <li><a href="detail-edit.php?nav-itemed=user&nid=-->
                                        <? //echo $_SESSION['nid'];
                                        ?><!--" >用户资料</a></li>-->
                                        <li class="layui-this">头像上传</li>
                                        <li>修改密码</li>
                                        <li>账号绑定</li>
                                    </ul>
                                    <!--            <div class="layui-tab-content">-->
                                    <!--                <div class="layui-tab-item layui-show statistic-department-info"> -->
                                    <? // include 'statistic-department-info.php';
                                    ?><!--  </div>-->
                                    <!---->
                                    <!--            </div>-->
                                    <div class="layui-tab-content">
                                        <div class="layui-tab-item layui-show"><?php include "modules/mod-upload-photo.php"?></div>
                                        <div class="layui-tab-item"><? include "modules/mod-password-edit.php"?></div>
                                        <div class="layui-tab-item"><? include 'modules/mod-account-binding.php'?></div>
                                        
                                        <input type="hidden" name="nid" value="<? echo $detail['nid'] ?>">
                                        <div class="function">
                                            <button class="layui-btn">确定</button>
                                            <button type="reset" class="layui-btn">重置</button>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <!--content端點01-->
                    </div>
                </form>
                <!--maincontent端點01-->
                <br class="clearfloat" />
            </div>
            <!--container端點01-->
        </div>


        <?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?>
</body>

</html>